package com.weir.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.weir.api.HellService;
@Controller
public class HellController {

	@Autowired
	private HellService hellService;
	
	@RequestMapping("/hell/{s}")
	@ResponseBody
	public String hell(@PathVariable String s) {
		return hellService.hell(s);
	}
}
